<template>
  <view class="page">
    <UserDate/>
    <view class="times flexR">
      <view class="time">一月内</view>
      <view class="time">半年内</view>
      <view class="time">一年内</view>
      <view class="time">全部</view>
    </view>
    
    <view class="tcard">
      <view class="title flexR">
        入院申请单
        <view class="money">
          + 500
        </view>
      </view>
      <view class="tform no-border left">
        <view class="tform-item">
          <view class="label">支付方式：</view>
          <view class="value">微信支付</view>
        </view>
        <view class="tform-item">
          <view class="label align">支付状态：</view>
          <view class="value">已支付</view>
        </view>
        <view class="tform-item">
          <view class="label align">订单号：</view>
          <view class="value">202001010520200001</view>
        </view>
        <view class="tform-item">
          <view class="label">支付时间：</view>
          <view class="value">2024-09-09 14:37:55</view>
        </view>
      </view>
    </view>
  </view>
</template>

<script>
  import { mapGetters } from 'vuex';
  import UserDate from '@/components/UserInfo/user-date.vue'
  export default {
    components: {UserDate},
    data() {
      return {
        
      }
    },
    computed:{
    	...mapGetters(['userInfo']),
    },
    methods: {
      
    }
  }
</script>

<style scoped lang="scss">
.times {
  justify-content: space-around;
  align-items: center;
  gap: 10upx;
  width: 100vw;
  padding: 24upx 16upx;
  position: sticky;
  top: 0;
  left: -32upx;
  transform: translateY(-32upx);
  margin-left: -32upx;
  margin-right: -32upx;
  margin-bottom: -32upx;
  .time {
    height: 48upx;
    flex: 1;
    background-color: #FFF;
    text-align: center;
    line-height: 48upx;
    border-radius: 4upx;
  }
}
.title {
  justify-content: space-between;
  align-items: center;
}
.money {
  font-family: PingFang SC, PingFang SC;
  font-weight: bold;
  font-size: 36upx;
  color: $theme-color;
}
.align {
  width: 5em;
  text-align: justify;
  text-align-last: justify;
}
</style>
